import { ajax } from "../../utls/request";
import '../../mock/road_points'
//获取商品列表
export function getroad() {
  return ajax({
    url: "/operation",
  });
}
//添加功能
export function getroadadd(data) {
  return ajax({
    url: "/operation/add",
    method:'post'
    ,data
  });
}


//查询功能

export function getroadsearch(data) {
  return ajax({
    url: "/operation/search",
    method:'post'
    ,data
  });
}

//删除功能

export function getroadremove(data) {
  return ajax({
    url: "/operation/remove",
    method:'post'
    ,data
  });
}


//修改功能
export function getsetroadadd(data) {
  return ajax({
    url: "/operation/set",
    method:'post'
    ,data
  });
}
export function getwacthroad(data) {
  return ajax({
    url: "/operation/wacth",
    method:'post'
    ,data
  });
}